package cn.ainit.fx.fho;

import java.util.List;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/fho")
public class FxHandOutController {


	private FxHandOutDaoService fxHandOutDaoService;
	@Resource
	public void setFxHandOutDaoService(FxHandOutDaoService fxHandOutDaoService) {
		this.fxHandOutDaoService = fxHandOutDaoService;
	}


	/*********
	 * 生成验货区的数据
	 * @param fxHandOut
	 * @param request
	 * @param session
	 * @return
	 * @throws Exception
	 * @author chenfeifei
	 * @version 创建时间：2014-11-5 下午02:45:29
	 */
	@RequestMapping("/produceCheckGood")
	@ResponseBody
	public Boolean produceCheckGood(@RequestBody List<FxHanParam> fxHanParams,HttpServletRequest request,HttpSession session) throws Exception{
		try {
			//获取验货的数据fxfxHanParamsHanParams
			for (int i = 0; i < fxHanParams.size(); i++) {
				
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		return false;
	}

}
